package com.zhihao.zhihaopicturebackend.model.dto.picture;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;

/**
 * @author Jackson
 * @create 2024/12/26 9:18
 * @description 批量抓取图片请求类
 */
//@ApiModel("批量抓取图片请求类")
@Data
public class PictureUploadByBatchRequest {

    /**
     * 搜索词
     */
    @ApiModelProperty(value = "搜索词")
    private String searchText;

    /**
     * 抓取数量
     */
    @ApiModelProperty(value = "抓取数量")
    @Max(value = 30,message = "批量抓取次数最多30条")
    private Integer count = 10;

    /**
     * 自定义图片名称前缀 eg:cyber_*
     */
    @ApiModelProperty(value = "自定义图片名称前缀")
    private String namePrefix;

}

